<!DOCTYPE html>
<html>
<head>
	<title>单元格合并</title>
	<meta charset="utf-8">
</head>
<body>
	<!-- 
		单元格合并
		跨列合并		colspan="n"
		跨行合并		rowspan="n"
	 -->
	<h1>跨列合并</h1>
	<table border="1">
		<tr>
			<td>姓名</td>
			<td colspan="2">电话</td>
		</tr>
		<tr>
			<td>Bill Gates</td>
			<td>555 77 854</td>
			<td>555 77 855</td>
		</tr>
	</table>

	<h1>跨行合并</h1>
	<table border="">
		<tr>
			<td>姓名</td>
			<td>Bill Gates</td>
		</tr>
		<tr>
			<td rowspan="2">电话</td>
			<td>555 77 854</td>
		</tr>
		<tr>
			<td>555 77 855</td>
		</tr>
	</table>
</body>
</html>